package com.fei.item.mapper;

import com.fei.item.pojo.Category;
import com.fei.item.pojo.Sku;
import com.fei.item.pojo.Spu;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SkuMapper extends Mapper<Sku> {
    /**
     * @return
     */
    @Select("SELECT * FROM tb_sku WHERE spu_id  = #{spuId}")
    List<Sku> querySkuBySpuId(Long spuId);
}
